package com.factory.domain;
import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
 * 【请填写功能名称】对象 warn_table
 * @author ruoyi
 * @date 2024-11-15
 */
public class warnTable implements Serializable {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 系统id */
    private Long systemId;

    /** 系统名称 */
    private String systemName;

    /** 设备id */
    private Long deviceId;

    /** 设备名称 */
    private String deviceName;

    /** 报警内容 */
    private String warnContext;

    /** 报警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSystemId(Long systemId) 
    {
        this.systemId = systemId;
    }

    public Long getSystemId() 
    {
        return systemId;
    }
    public void setSystemName(String systemName) 
    {
        this.systemName = systemName;
    }

    public String getSystemName() 
    {
        return systemName;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setWarnContext(String warnContext) 
    {
        this.warnContext = warnContext;
    }

    public String getWarnContext() 
    {
        return warnContext;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("systemId", getSystemId())
            .append("systemName", getSystemName())
            .append("deviceId", getDeviceId())
            .append("deviceName", getDeviceName())
            .append("warnContext", getWarnContext())
            .append("time", getTime())
            .toString();
    }
}
